using System;
using System.Collections.Generic;
using System.Text;

namespace msgExchange
{
    public sealed  class CSingleTonInstance<T> where T : new()  
    {
        private static T instance_ = new T();

        private CSingleTonInstance() { }
        

        public static T instance()
        {
            return instance_;
        }

    }

}
